|
CATIA V5 Programmierung : ENTER Taste Drücken
Hokay am 25.10.2013 um 10:26 Uhr (1)
Hallo Zusammen,ich habe einen kleinen Script, der mir einen bestimmten Befehl ausführt. Language="VBSCRIPT" Sub CATMain() CATIA.ActiveDocument.Selection.Add CATIA.ActiveDocument.Product CATIA.StartCommand("CATPart aus Produkt generieren...") SendKeys "{ENTER}" End SubWie kann ich das geöfnete Fenster mit ENTER abschließen.Die vorletzte Zeile SendKeys "{ENTER}" funktioniert so noch nichtKann mir jemand helfen?Danke Hokay
|
| In das Form CATIA V5 Programmierung wechseln |
|
CATIA V5 Programmierung : CATPart aus Produkt generieren mit Makro
Hokay am 25.10.2013 um 09:46 Uhr (1)
Hallo Gemeinde,genau das brauche ich auch.ich habe ein CATProduct und möchte den Befehl "CATPart aus CATProduct generieren..." per CATScript ausführen.Das heißt ich brauch als Ergebnis ein Part.Hat jemand eine entsprechenden Script?Danke Hokay
|
| In das Form CATIA V5 Programmierung wechseln |
|
CATIA V5 Programmierung : Catia V5 Blöcke und Layer via CATScript nach dxf schreiben
Hokay am 14.07.2006 um 11:52 Uhr (0)
Sorry ich bin es selbst noch einmal.mein Problem 2) habe ich bereits selbst gelöst."wer lesen kann ist klar im Vorteil" :-)Und nun der zur Zeit verwendete CATScript:Attribute VB_Name = "export_view_dxf_null_2"Sub CATMain() Dim DXFPath As String Dim CatiaPath As String DXFPath = "Dewsastdm01 dmCADCOMPDXFAOB" -- Hier Datei-Pfad für DXF Dateien anpassen! Mit "" am Ende!!! CatiaPath = "Dewsastdm01 dmCADCOMPCatia" -- Hier Datei-Pfad für CATDrawings anpassen! Mit "" am Ende!!! TDMName = CATIA.ActiveWindow.Captio ...
|
| In das Form CATIA V5 Programmierung wechseln |
|
CATIA V5 Programmierung : Text Properties im Drawing
Hokay am 25.10.2006 um 14:44 Uhr (0)
Hallo Zusammenbei mir will das einfach nicht funktionieren!Benutzen im Moment V5R14SP7Kann mir bitte jemand helfen!!!!!Konkret will ich den Faktor auf 68% und den Abstand auf 25% ändern siehe JPGhier mein Script:Language="VBSCRIPT"Sub CATMain()Dim drawingDocument1 As Documentdim text as DrawingTextDim selection1 As SelectionSet drawingDocument1 = CATIA.ActiveDocumentSet selection1 = drawingDocument1.Selectionselection1.Search "(CATTPSSearch.CATTPSText + CATDrwSearch.DrwText),all"bis hier hin funktioniert d ...
|
| In das Form CATIA V5 Programmierung wechseln |
|
CATIA V5 Programmierung : Text Properties im Drawing
Hokay am 25.10.2006 um 14:44 Uhr (0)
Hallo Zusammenbei mir will das einfach nicht funktionieren!Benutzen im Moment V5R14SP7Kann mir bitte jemand helfen!!!!!Konkret will ich den Faktor auf 68% und den Abstand auf 25% ändern siehe JPGhier mein Script:Language="VBSCRIPT"Sub CATMain()Dim drawingDocument1 As Documentdim text as DrawingTextDim selection1 As SelectionSet drawingDocument1 = CATIA.ActiveDocumentSet selection1 = drawingDocument1.Selectionselection1.Search "(CATTPSSearch.CATTPSText + CATDrwSearch.DrwText),all"bis hier hin funktioniert d ...
|
| In das Form CATIA V5 Programmierung wechseln |
|
CATIA V5 Programmierung : Text Properties im Drawing
Hokay am 25.10.2006 um 14:44 Uhr (0)
Hallo Zusammenbei mir will das einfach nicht funktionieren!Benutzen im Moment V5R14SP7Kann mir bitte jemand helfen!!!!!Konkret will ich den Faktor auf 68% und den Abstand auf 25% ändern siehe JPGhier mein Script:Language="VBSCRIPT"Sub CATMain()Dim drawingDocument1 As Documentdim text as DrawingTextDim selection1 As SelectionSet drawingDocument1 = CATIA.ActiveDocumentSet selection1 = drawingDocument1.Selectionselection1.Search "(CATTPSSearch.CATTPSText + CATDrwSearch.DrwText),all"bis hier hin funktioniert d ...
|
| In das Form CATIA V5 Programmierung wechseln |
|
CATIA V5 Programmierung : Text Properties im Drawing
Hokay am 26.10.2006 um 12:34 Uhr (0)
Hallo TimberwolveNun funktioniert der Script in den Grundzügen.Danke schon einmal.Der ZeichenFaktor läßt sich einstellen. Language="VBSCRIPT" Sub CATMain() Dim drawingDocument1 As Document dim text as DrawingText Dim selection1 As Selection Set drawingDocument1 = CATIA.ActiveDocument Set selection1 = drawingDocument1.Selection selection1.Search "(CATTPSSearch.CATTPSText + CATDrwSearch.DrwText),all" Test Faktor Dim ModText as DrawingText Dim k as Integer For k = 1 to selection1.count Set Mod ...
|
| In das Form CATIA V5 Programmierung wechseln |
|
CATIA V5 Programmierung : Text Properties im Drawing
Hokay am 26.10.2006 um 12:34 Uhr (0)
Hallo TimberwolveNun funktioniert der Script in den Grundzügen.Danke schon einmal.Der ZeichenFaktor läßt sich einstellen. Language="VBSCRIPT" Sub CATMain() Dim drawingDocument1 As Document dim text as DrawingText Dim selection1 As Selection Set drawingDocument1 = CATIA.ActiveDocument Set selection1 = drawingDocument1.Selection selection1.Search "(CATTPSSearch.CATTPSText + CATDrwSearch.DrwText),all" Test Faktor Dim ModText as DrawingText Dim k as Integer For k = 1 to selection1.count Set Mod ...
|
| In das Form CATIA V5 Programmierung wechseln |
|
CATIA V5 Programmierung : Text Properties im Drawing
Hokay am 26.10.2006 um 12:34 Uhr (0)
Hallo TimberwolveNun funktioniert der Script in den Grundzügen.Danke schon einmal.Der ZeichenFaktor läßt sich einstellen. Language="VBSCRIPT" Sub CATMain() Dim drawingDocument1 As Document dim text as DrawingText Dim selection1 As Selection Set drawingDocument1 = CATIA.ActiveDocument Set selection1 = drawingDocument1.Selection selection1.Search "(CATTPSSearch.CATTPSText + CATDrwSearch.DrwText),all" Test Faktor Dim ModText as DrawingText Dim k as Integer For k = 1 to selection1.count Set Mod ...
|
| In das Form CATIA V5 Programmierung wechseln |
|
CATIA V5 Programmierung : Move Selection CATDrawing (Selectierte Elemente verschieben)
Hokay am 27.03.2009 um 11:16 Uhr (0)
Hallo Gemeindevielen dank für Eure HilfeDas ist mein Code:Aber der steigt in Zeile 54 mit: "object unterstütze die Methode nicht" aus.----------------------------------------------------------------Sub CATMain()On Error Resume NextVersatz_X = 50Versatz_Y = 0 -- -- -- -- -- -- -- -- -- -- -- -- -- Funktionsaufruf - Schriftfeld Beiwerk Verschieben SFversatz Versatz_X,Versatz_Y End Sub=======================================================================================Function SFversatz (Versatz_X,Versatz_ ...
|
| In das Form CATIA V5 Programmierung wechseln |
|
CATIA V5 Programmierung : Move Selection CATDrawing (Selectierte Elemente verschieben)
Hokay am 20.03.2009 um 08:53 Uhr (0)
Hallo Zusammen,..... hat niemenad eine Idee?Oder ist die Aufgabe so schwierig, dass sich niemand traut?MfG Hokay
|
| In das Form CATIA V5 Programmierung wechseln |
|
CATIA V5 Programmierung : Farbmanagement
Hokay am 29.09.2015 um 10:43 Uhr (1)
Hallo Zusammen... Hallo JoeHmmm...??? Und nun?Hat jemand eine Idee?Es gibt nun 3 Ansätze...1. Die Eigenschaften wirklich mit Catia Bordmittel setzen. (Aber ALLE!!!)2. Einen Script der die Eigenschaften, der im Product geladenen Parts, anpackt.3. Ein Script der einen kompletten Ordner, Part für Part durchgeht und die Eigenschaft umsetztDas Verfahren wäre mir egal. Brauch dringend Hilfe
|
| In das Form CATIA V5 Programmierung wechseln |
|
CATIA V5 Programmierung : Move Selection CATDrawing (Selectierte Elemente verschieben)
Hokay am 19.03.2009 um 13:58 Uhr (0)
Hallo Zusammenich habe über selestion.add verschiedene Elemente (Linien, Punkte und Texte) Selectiert.nun möchte ich diese um, sagen wir z.B. 50mm in X versieben.Ich bekomme einfach keinen Code zusammen.kann mir jemand mit einem Code helfen?MfG Hokay
|
| In das Form CATIA V5 Programmierung wechseln |